<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<a th:href="@{/user/test}">连接</a>>
<form th:action="@{/login}" method="post">
    <input type="text" name="username">
  <br>
    <input type="text" name="password">
  <br>
    <input type="submit">
</form>

<a th:href="@{/testParams?username=admin&password=1234}">参数</a>

</body>
</html>